RankMath\Schema\JsonLD C

Total Complexity 115
Dependencies 11
Dependents 6
Total lines 651
Lines of code 325
Logical lines of code 177
Comment lines 235
Methods 29
Properties 3

Methods 29

Method Rating Maintainability Complexity Lines of code
validate_schema()
A
53 10 22
add_context_data()
A
52 9 22
replace_variables()
A
53 9 22
json_ld()
S
52 7 22
filter()
S
55 6 18
can_add_global_entities()
S
58 6 14
generate_preview()
S
51 5 26
add_prop()
S
55 5 18
get_parts()
S
54 5 18
get_product_desc()
S
62 5 11
add_ratings()
S
54 4 20
set_publisher()
S
60 4 12
set_address()
S
62 4 10
is_product_page()
S
76 4 3
get_post_title()
S
65 4 8
add_prop_url()
S
71 3 5
get_product_title()
S
66 3 9
can_add_breadcrumb()
S
77 3 3
get_post_url()
S
73 3 4
set_data()
S
72 2 5
add_prop_thumbnail()
S
72 2 5
get_website_name()
S
75 2 4
add_prop_address()
S
72 2 5
add_prop_publisher()
S
70 2 6
add_prop_is_part_of()
S
64 2 9
add_prop_language()
S
78 1 3
add_schema()
S
72 1 5
get_old_schema()
S
65 1 9
setup()
S
68 1 7